﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Pharmacy.BusinessEntities;
using Pharmacy.Repository;

namespace CreateDB
{
    class Program
    {
        static void Main(string[] args)
        {
            var cat = new Laboratorio()
            {
                
                Nombre = "nueva Categoria",
                Descripcion = "descripcion"
            };

            Console.WriteLine("Creando Data Base...");
            var context = new PharmacyContext();
            context.Laboratorios.Add(cat);
            context.SaveChanges();

            Console.WriteLine("Felicitaciones!! \n *** Base de Datos Creada ***");
            Console.ReadLine();
        }
    }
}
